package com.xiaojie.dao;

import com.xiaojie.pojo.User;

import java.io.InputStream;
import java.util.List;

/**
 * @ClassName IUserDao
 * @Author jiege
 * @Date 2021/5/2 22:39
 **/
public interface IUserDao {

    //查询所有用户
    public List<User> findAll() throws Exception;


    //根据条件进行用户查询
    public User findByCondition(User user) throws Exception;

    //根据id删除对象
    public void byDelete(Integer id) throws Exception;

    //添加用户
    //public void saveUser(User user) throws Exception;
}
